 $.getScript("{__APIURL__}",function(data)
    {
       if(yzuserCookie.id){ 
         var user_id = yzuserCookie.id;
         setCookie("user_id",user_id,30);
       }

    });

 